#!/bin/bash
echo "测试7: 混合负载 - 多种请求同时进行"
ab -c 20 -n 100 -k https://localhost:443/ > test_results/test7_home.txt &
ab -c 20 -n 100 -k https://localhost:443/static/css/style.css > test_results/test7_static.txt &
ab -c 10 -n 50 -p upload_test.txt -T "application/x-www-form-urlencoded" https://localhost:443/upload > test_results/test7_upload.txt &
wait
echo "混合负载测试完成"
